﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace colas
{
    public partial class Tablas_Euler : Form
    {
        public Tablas_Euler()
        {
            InitializeComponent();
        }

        private void Tablas_Euler_Load(object sender, EventArgs e)
        {

        }
        public void set_euler(System.Windows.Forms.DataGridView dgc, System.Windows.Forms.DataGridView dgg)
        {
            dGV_Chico.DataSource= dgc.DataSource;
            dGV_Grande.DataSource = dgg.DataSource;

            dGV_Chico.Columns[0].HeaderText = "Nro Iteracion";
            dGV_Chico.Columns[1].HeaderText = "Tiempo";
            dGV_Chico.Columns[2].HeaderText = "Tamanio";
            dGV_Chico.Columns[3].HeaderText = "Derivada";

            dGV_Grande.Columns[0].HeaderText = "Nro Iteracion";
            dGV_Grande.Columns[1].HeaderText = "Tiempo";
            dGV_Grande.Columns[2].HeaderText = "Tamanio";
            dGV_Grande.Columns[3].HeaderText = "Derivada";

        }
    }
}
